package com.isky.visual.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.isky.visual.user.entity.User;
import com.isky.visual.user.vo.UserInfoTreeVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName : UserMapper
 * @Description : 用户访问数据库的接口mapper
 * @Author :wudl
 * @Date: 2020-04-12 12:12
 */
@Mapper
@Repository
public interface UserMapper extends BaseMapper<User> {

    /**
     * TODO 获取用户组信息
     * @return
     */
    List<UserInfoTreeVO> groupTreeInfo();
}
